package 栈;
//刘超
public interface IStack {
    public void push(Object obj) throws Exception;//进栈
    public Object pop() throws Exception;//出栈
    public Object getTop() throws Exception;//取栈顶
    public boolean isEmpty();//判断栈是否为空
    public int size();//求栈长
    public void print();//遍历
}
